<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="timo-detail-page">
    <div class="timo-detail-title">基本信息</div>
    <table class="layui-table timo-detail-table">
        <colgroup>
            <col width="100px">
            <col>
            <col width="100px">
            <col>
        </colgroup>
        <tbody>
        <tr>
            <th>项目名称</th>
            <td th:text="${project.name}"></td>
            <th>项目编号</th>
            <td th:text="${project.numbering}"></td>
        </tr>
        <tr>
            <th>项目阶段</th>
            <td th:text="${#dicts.keyValue('STAGE',project.stage)}"></td>
            <th>项目标签</th>
            <td th:text="${#dicts.keyValue('CUSTTAG',project.tag)}"></td>
        </tr>
        <tr>
            <th>客户名称</th>
            <td th:text="${project.customerName}" colspan="3"></td>
        </tr>
        <tr>
            <th>开始日期</th>
            <td th:text="${#dates.format(project.startDate, 'yyyy-MM-dd')}"></td>
            <th>结束日期</th>
            <td th:text="${#dates.format(project.endDate, 'yyyy-MM-dd')}"></td>

        </tr>
        <tr>
            <th>负责人</th>
            <td th:text="${project.userName}"></td>
            <th>协同人</th>
            <td th:text="${partners}"></td>
        </tr>
        <tr>
            <th>创建者</th>
            <td th:text="${project.createBy?.nickname}"></td>
            <th>更新者</th>
            <td th:text="${project.updateBy?.nickname}"></td>
        </tr>
        <tr>
            <th>创建时间</th>
            <td th:text="${#dates.format(project.createDate, 'yyyy-MM-dd')}"></td>
            <th>更新时间</th>
            <td th:text="${#dates.format(project.updateDate, 'yyyy-MM-dd')}"></td>
        </tr>
        <tr>
            <th>备注</th>
            <td th:text="${project.remark}" colspan="3"></td>
        </tr>
        </tbody>
    </table>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>